function loginName(){
   const userInfo=JSON.parse(sessionStorage.getItem("userInfo"))
   const uname=document.querySelector("#uname")
   uname.innerHTML=userInfo.name
}
loginName()

const logout = document.querySelector("#logout")
logout.onclick=function(){
   console.log(11111111111);
   //  sessionStorage.removeItem(key);
   //  sessionStorage.removeItem(login);
   //  sessionStorage.removeItem(pageCurrent);
   //  sessionStorage.removeItem(customer);
   //  sessionStorage.removeItem(roomInfo);
   //  sessionStorage.removeItem(userInfo);
   //  sessionStorage.removeItem(code);
   //  sessionStorage.removeItem(employeeInfo);
   //  sessionStorage.removeItem(studentInfo);
   //  location.href ="../html/login.html"
}